const mysql = require("mysql");
const config = require("./config").mysql;
const db = mysql.createPool({
    host: config.host, 
    port: config.port,
    user: config.user, 
    password: config.password, 
    database: config.database, 
    charset: "UTF8_GENERAL_CI"
});
module.exports = db;